﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BehaviorFramework;

namespace WpfTestApplication
{
	public class BehaviorClass2 : BehaviorInjector<Dataclass>
	{
		public string HairColor { get; set; }
		public bool HasMoustache { get; set; }
		public string MoustacheColor
		{
			get
			{
				var hairColor = ViewModel.HairColor;
				return ViewModel.HasMoustache ? hairColor : "No Moustache";
			}
		}
	}
}
